package com.zhou.hot.script;

import java.util.List;


public interface Script {
/**

 * @param outs
 * @param params
 * @throws Exception
 */
public void run(List<String> outs,String... params) throws Exception;

/**

 * @param outs
 * @param params
 * @throws Exception
 */
default public void stop(List<String> outs,String... params) throws Exception{

}
/**
 * @return
 */
default public boolean isNeedCache() {
    return false;
}
}
